package com.java.comprehensive.design.building_modelling.factory_pattern.coffee.simple;

class CoffeeStore {
    public Coffee orderCoffee(String coffeeType) {
        Coffee coffee = new SimpleCoffeeFactory().createCoffee(coffeeType);
        addCoffeeAttr(coffee);
        return coffee;
    }

    private void addCoffeeAttr(Coffee coffee) {
        coffee.addSugar();
        coffee.addMilk();
    }

}
